package com.txc.books.entity;

import java.util.Date;

/**
 * @author: XCTANG
 */


public class Book {

    private Integer id;
    private String name;
    private String author;
    private String publish;
    private String typeId;
    private String remark;
    private String time;

    public Book() {
    }

    public Book(Integer id, String name, String author, String publish, String typeId, String remark,String time) {
        this.id = id;
        this.name = name;
        this.author = author;
        this.publish = publish;
        this.typeId = typeId;
        this.remark = remark;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", publish='" + publish + '\'' +
                ", typeId='" + typeId + '\'' +
                ", remark='" + remark + '\'' +
                ", time=" + time +
                '}';
    }
}
